package com.agriculture.monitor.service;


import com.agriculture.monitor.dto.PositionPage;
import com.agriculture.monitor.dto.ValueLabelTree;
import com.agriculture.monitor.entity.Position;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author admin
 * @since 2021-07-15
 */
public interface IPositionService extends IService<Position> {

    Page listPage(PositionPage position);

    Position saveData(Position position);

    List<ValueLabelTree> tree();
}
